﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace K3TOOLS.Models
{
    /// <summary>
    /// 隶属关系定义表 weisl 2018-05-15
    /// </summary>
    public class SysOrgAffiliation
    {
        public string id { get; set; }

        public string uniqueid { get; set; }
        /// <summary>
        /// 隶属关系名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string u_id { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool is_deleted { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }
        /// <summary>
        /// 数据状态
        /// </summary>
        public int data_status { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool is_default { get; set; }
        /// <summary>
        /// 启用日期
        /// </summary>
        public DateTime start_date { get; set; }
        /// <summary>
        /// 过期日期
        /// </summary>
        public DateTime end_date { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 上级组织ID
        /// </summary>
        public string sys_org_id { get; set; }
        /// <summary>
        /// 上级组织名称
        /// </summary>
        //public string sys_org_name { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string update_id { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime update_datetime { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string approver_id { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime approver_datetime { get; set; }
        /// <summary>
        /// 禁用人
        /// </summary>
        public string forbidder_id { get; set; }
        /// <summary>
        /// 禁用时间
        /// </summary>
        public DateTime forbidder_datetime { get; set; }
    }
}
